<?php
return array(
    //'配置项'=>'配置值'
    //数据库配置
    'DB_TYPE' => 'mysql',
    'DB_HOST' => '121.43.151.46',
    'DB_NAME' => 'test',
    'DB_USER' => 'root',
    'DB_PWD'  => 'zhanglin',
    'DB_PORT' => '3306',
    'DB_PREFIX' => 'wuxie_',
    'DB_CHARSET'=> 'utf8',
    //模块
    'MODULE_ALLOW_LIST' => array('Home', 'Admin'),
    'DEFAULT_MODULE' => 'Home',
    //布局
    'LAYOUT_ON' => true,
    'LAYOUT_NAME' => 'layout',
    //输入过滤
    'DEFAULT_FILTER' =>  'htmlspecialchars,trim', //默认过滤函数
    'VAR_AUTO_STRING' => true,  //默认强制转换为字符串类型
    //其它配置
    'URL_MODEL' => 2,   //URL模式：Rewrite
    'TOKEN_ON' => true, //开启表单令牌
    'SHOW_PAGE_TRACE' => APP_DEBUG, //显示调试信息
);